<!DOCTYPE html>
		<div class="page-content" style="min-height:497px">
			<div class="lenovo-item">
				<div class="row">
					<div class="col-md-12">
						<h3 class="lenovo-page-title">
							项目参数管理
						</h3>
						<form action="projectSearch" name="search" method="get">
							<div class="project_id">
							           项目编号：
							   <input id="project_id" class="input-medium search-query" type="text" name="id" value="{{id}}"/>
							</div>
							<div class="project_name">
							            项目名称：
							   <input id="project_name" class="input-medium search-query" type="text" name="name" value="{{name}}"/>
							</div>
							<!-- <div class="project_status">
							             项目状态：
							   <input class="input-medium search-query" type="text" name="status"/>
							</div> -->
							<div class="project_status">
							             项目状态：
								<select id="project_status" name="status" class="js-example-basic-single">
								    {% if status == "0" %}
								        <option value="" >请选择</option>
	  									<option value="0" selected="selected">启用</option>
	  									<option value="1">已删除</option>
						            {% elseif status=="1" %}
						                <option value="" >请选择</option>
	  									<option value="0">启用</option>
	  									<option value="1" selected="selected">已删除</option>
	  								{% else %}
	  								    <option value="" selected="selected">请选择</option>
	  									<option value="0">启用</option>
	  									<option value="1">已删除</option>
						            {% endif %}
								</select>
							    
							</div>
							<div class="search_button">
							    <button type="submit" class="btn">搜索</button>
							</div>
						</form>
					</div>
				</div>		  
				<div class="row">
					<div class="col-md-12">
						<!-- BEGIN EXAMPLE TABLE PORTLET-->
						<div class="portlet box">
							<div class="portlet-body">
								<div class="table-toolbar">
									<div class="btn-group">
										<!-- <button id="sample_editable_1_new" class="btn green lenovo">
										Add New <i class="fa fa-plus"></i>
										</button> -->
									</div>
									<div class="btn-group pull-right">
										<!-- <button class="btn dropdown-toggle" data-toggle="dropdown">导出 <i class="fa fa-angle-down"></i>
										</button>
										<ul class="dropdown-menu pull-right">
											<li>
												<a href="#">
												导出全部数据 </a>
											</li>
											<li>
												<a href="#">
												导出当前页数据 </a>
											</li>
										</ul> -->
									</div>
								</div>
								<table class="table table-hover table-bordered" id="sample_editable_1">
									<thead>
									<tr>
										<th>
											 项目编号
										</th>
										<th>
											 项目名称
										</th>
										<th>
											 项目经理
										</th>
										<th>
											 项目经理登录名
										</th>
										<th>
											 项目状态
										</th>
										<th>
											 管理
										</th>
									</tr>
									</thead>
									<tbody>
									{% for item in projectlist %}
									<tr>
										<td>
											 <!-- alex -->
											 {{ item .id }}
										</td>
										<td>
											 <!-- Alex Nilson -->
											 {{item .name}}
										</td>
										<td>
											 <!-- 1234 -->
											 {{item .pmname}}
										</td>
										<td class="center">
											 <!-- power user -->
											 {{item .pmid}}
										</td>
										<td class="center">
											{% if item .status == 0 %}
											启动
											{% elseif item .status == 1 %}
											删除
											{% else %}
											状态错误
											{% endif %}
										</td>
										<td>
											<a class="center" href="{{item.id}}/projectEdit">
											编辑 </a>
										</td>
									</tr>
									{% endfor %}
									</tbody>
								</table>
							</div>
						</div>
						<!-- END EXAMPLE TABLE PORTLET-->
					</div>
				</div>
			</div>
		</div>